<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Insert title here</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-store,no-cache"> 
<meta name="Handheldfriendly" content="true">
<meta name="viewport" content="width=100%; initial-scale=1.0; user-scalable=yes">
<link href="css/css.css" rel="stylesheet" type="text/css"/>
<link href="css/easyui.css" rel="stylesheet" type="text/css"/>
<link href="css/index.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" charset="utf-8" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" charset="utf-8" src="js/jquery.easyui.min.js"></script>
<script type="text/javascript" charset="utf-8" src="js/jquery.parser.js"></script>
<script type="text/javascript" charset="utf-8" src="js/my97/WdatePicker.js"></script>
<script type="text/javascript" charset="utf-8" src="js/datekj.js"></script>
<script type="text/javascript" language="javascript">
//$(function(){
//	$('#test1').click(function(){
//		$('#tt').tabs('select','<h1>第二页</h1>')	
//	})
//	$('#test2').click(function(){
//		$('#tt').tabs('select','<h1>第一页</h1>')	
//	})		
//})

//母亲妊娠期患病情况
function changesGestationCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('3'==selectd){
			$("#sGestationOther").show();
		}else{
			$("#sGestationOther").hide();
			$("#sGestationOther").val("");
		}
}
//出生情况
function changesBornConditionCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('7'==selectd){
			$("#sBornOtherCondition").show();
		}else{
			$("#sBornOtherCondition").hide();
			$("#sBornOtherCondition").val("");
		}
}
//新生儿窒息
function changesStuffinessCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('2'==selectd){
			$("#sApgarCode").show();
			$("#Apgar").show();
		}else{
			$("#sApgarCode").hide();
			$("#Apgar").hide();
			$("#sApgarCode").val("");
		}
}
//是否有畸型
function changesDeformityCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('2'==selectd){
			$("#sDeformityexplain").show();
		}else{
			$("#sDeformityexplain").hide();
			$("#sDeformityexplain").val("");
		}
}
//新生儿疾病筛查
function changesIllnessScreeningCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('4'==selectd){
			$("#sIllnessScreeningOther").show();
		}else{
			$("#sIllnessScreeningOther").hide();
			$("#sIllnessScreeningOther").val("");
		}
}
//先天性心脏病
function changesHeartDiseaseCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('2'==selectd){
			$("#sSuspectedContent").show();
		}else{
			$("#sSuspectedContent").hide();
			$("#sSuspectedContent").val("");
		}
}
//面色
function changesFacialExpressionCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('3'==selectd){
			$("#sFacialExpressionOther").show();
		}else{
			$("#sFacialExpressionOther").hide();
			$("#sFacialExpressionOther").val("");
		}
}
//前囟说明
function changesHalogenBeforeCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('4'==selectd){
			$("#sHalogenBeforeother").show();
		}else{
			$("#sHalogenBeforeother").hide();
			$("#sHalogenBeforeother").val("");
		}
}
//眼外观
function changesEyesOutwardCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('2'==selectd){
			$("#sEyesOutwardOther").show();
		}else{
			$("#sEyesOutwardOther").hide();
			$("#sEyesOutwardOther").val("");
		}
}
//四肢活动度
function changesLegsActivityCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('2'==selectd){
			$("#sLegsActivityOther").show();
		}else{
			$("#sLegsActivityOther").hide();
			$("#sLegsActivityOther").val("");
		}
}
//耳外观
function changesEarsOutwardCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('2'==selectd){
			$("#sEarsOutwardOther").show();
		}else{
			$("#sEarsOutwardOther").hide();
			$("#sEarsOutwardOther").val("");
		}
}
//颈部包块
function changesNeckMassCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('2'==selectd){
			$("#sNeckMassOther").show();
		}else{
			$("#sNeckMassOther").hide();
			$("#sNeckMassOther").val("");
		}
}
//鼻
function changesNoseCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('2'==selectd){
			$("#sNoseOther").show();
		}else{
			$("#sNoseOther").hide();
			$("#sNoseOther").val("");
		}
}
//皮肤
function changesSkinCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('4'==selectd){
			$("#sSkinOther").show();
		}else{
			$("#sSkinOther").hide();
			$("#sSkinOther").val("");
		}
}
//口腔
function changesMouseCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('2'==selectd){
			$("#sMouseOther").show();
		}else{
			$("#sMouseOther").hide();
			$("#sMouseOther").val("");
		}
}
//肛门
function changesHepaticPortCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('2'==selectd){
			$("#sHepaticPortOther").show();
		}else{
			$("#sHepaticPortOther").hide();
			$("#sHepaticPortOther").val("");
		}
}
//心肺听诊
function changesHeartLungCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('2'==selectd){
			$("#sHeartLungOther").show();
		}else{
			$("#sHeartLungOther").hide();
			$("#sHeartLungOther").val("");
		}
}
//外生殖器
function changesGenitalsCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('2'==selectd){
			$("#sGenitalsOther").show();
		}else{
			$("#sGenitalsOther").hide();
			$("#sGenitalsOther").val("");
		}
}
//腹部触诊
function changesStomachCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('2'==selectd){
			$("#sStomachOther").show();
		}else{
			$("#sStomachOther").hide();
			$("#sStomachOther").val("");
		}
}
//脊柱
function changesBackBoneCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('2'==selectd){
			$("#sBackBoneOther").show();
		}else{
			$("#sBackBoneOther").hide();
			$("#sBackBoneOther").val("");
		}
}
//脐带
function changesUmbilicalCordCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('4'==selectd){
			$("#sUmbilicalCordOther").show();
		}else{
			$("#sUmbilicalCordOther").hide();
			$("#sUmbilicalCordOther").val("");
		}
}
//转诊建议
function changesReferralAdivseCode(selObj) {
	var selectd = selObj.options[selObj.selectedIndex].value;
	if('2'==selectd){
			$("#divsReferralAdivseCode").show();
		}else{
			$("#divsReferralAdivseCode").hide();
			$("#sReferralReason").val("");
			$("#sAgencyDepartments").val("");
		}
}
//中藏医指导
function ChoseZhongYiBaoJian() {
	$("#divChoseZhongYiBaoJian").window('open');
}
$(function(){
//是否健康教育的js控制
	$("input[name='iWeatherHealthEducation']").click(function(event){
		if($(this).attr('checked')==true){
			$("#triWeatherHealthEducation").show(); 
		}else{
			$("#triWeatherHealthEducation").hide(); 
			$("#sWeatherHealthEducationContent").val(""); 
		}
	});
//选择行为干预	
	$('#divChoseZhongYiBaoJian').dialog({
		closed:true,
		modal:true ,
			buttons:[
			{
				text:"<font size='4'>确定</font>",
				iconCls:'icon-ok',
				handler:function(){
					var content = "";
					$("input[name='BaoJianZhidaoContentCode']:checked").each(function(i) {
						var id = $(this).attr("id");
					    content += $("#ZhongYiBaoJian"+id).html()+'\r';
					});
					$("#BaoJianZhidaoContent").text(content)	
					$('#divChoseZhongYiBaoJian').dialog('close');
				}
			},
			{
				text:"<font size='4'>返回</font>",
				iconCls:'icon-back',
				handler:function(){
					$('#divChoseZhongYiBaoJian').dialog('close');
				}
			}
		],
		onClose:function(){
		}
	});		
})
//初始化显示
function showHtml(jsondata,jsondata2){
	var jsonobjs = eval('(' + jsondata + ')');//JSONObject格式的用此解析
	for(var i=0; i<jsonobjs.Sexs.length; i++){//性别
		$('#sSex').append("<option value='"+jsonobjs.Sexs[i].itemCode+"'>"+jsonobjs.Sexs[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.Gestation.length; i++){//母亲妊娠期患病情况
		$('#sGestationCode').append("<option value='"+jsonobjs.Gestation[i].itemCode+"'>"+jsonobjs.Gestation[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.BornCondition.length; i++){//出生情况
		$('#sBornConditionCode').append("<option value='"+jsonobjs.BornCondition[i].itemCode+"'>"+jsonobjs.BornCondition[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.Youwu.length; i++){//新生儿窒息
		$('#sStuffinessCode').append("<option value='"+jsonobjs.Youwu[i].itemCode+"'>"+jsonobjs.Youwu[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.Apgar.length; i++){//Apgar评分情况
		$('#sApgarCode').append("<option value='"+jsonobjs.Apgar[i].itemCode+"'>"+jsonobjs.Apgar[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.Youwu.length; i++){//是否有畸型
		$('#sDeformityCode').append("<option value='"+jsonobjs.Youwu[i].itemCode+"'>"+jsonobjs.Youwu[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.HearScreening.length; i++){//新生儿听力筛查
		$('#sHearScreeningCode').append("<option value='"+jsonobjs.HearScreening[i].itemCode+"'>"+jsonobjs.HearScreening[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.IllnessScreening.length; i++){//新生儿疾病筛查
		$('#sIllnessScreeningCode').append("<option value='"+jsonobjs.IllnessScreening[i].itemCode+"'>"+jsonobjs.IllnessScreening[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.Feed.length; i++){//喂养方式
		$('#sFeedCode').append("<option value='"+jsonobjs.Feed[i].itemCode+"'>"+jsonobjs.Feed[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.Suckneed.length; i++){//按需哺乳
		$('#dSuckneedCode').append("<option value='"+jsonobjs.Suckneed[i].itemCode+"'>"+jsonobjs.Suckneed[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.SuckTimes.length; i++){//母乳喂养次数
		$('#sSuckTimesCode').append("<option value='"+jsonobjs.SuckTimes[i].itemCode+"'>"+jsonobjs.SuckTimes[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.Youwu.length; i++){//呕吐
		$('#sVomitCode').append("<option value='"+jsonobjs.Youwu[i].itemCode+"'>"+jsonobjs.Youwu[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.Stool.length; i++){//大便
		$('#sStoolCode').append("<option value='"+jsonobjs.Stool[i].itemCode+"'>"+jsonobjs.Stool[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.FacialExpression.length; i++){//面色
		$('#sFacialExpressionCode').append("<option value='"+jsonobjs.FacialExpression[i].itemCode+"'>"+jsonobjs.FacialExpression[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.Jaundice.length; i++){//黄疸部位
		$('#sJaundiceCode').append("<option value='"+jsonobjs.Jaundice[i].itemCode+"'>"+jsonobjs.Jaundice[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.HalogenBefore.length; i++){//前囟说明
		$('#sHalogenBeforeCode').append("<option value='"+jsonobjs.HalogenBefore[i].itemCode+"'>"+jsonobjs.HalogenBefore[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.ErrorState.length; i++){//眼外观
		$('#sEyesOutwardCode').append("<option value='"+jsonobjs.ErrorState[i].itemCode+"'>"+jsonobjs.ErrorState[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.ErrorState.length; i++){//四肢活动度
		$('#sLegsActivityCode').append("<option value='"+jsonobjs.ErrorState[i].itemCode+"'>"+jsonobjs.ErrorState[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.ErrorState.length; i++){//耳外观
		$('#sEarsOutwardCode').append("<option value='"+jsonobjs.ErrorState[i].itemCode+"'>"+jsonobjs.ErrorState[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.Youwu.length; i++){//颈部包块
		$('#sNeckMassCode').append("<option value='"+jsonobjs.Youwu[i].itemCode+"'>"+jsonobjs.Youwu[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.ErrorState.length; i++){//鼻
		$('#sNoseCode').append("<option value='"+jsonobjs.ErrorState[i].itemCode+"'>"+jsonobjs.ErrorState[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.Skin.length; i++){//皮肤
		$('#sSkinCode').append("<option value='"+jsonobjs.Skin[i].itemCode+"'>"+jsonobjs.Skin[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.ErrorState.length; i++){//口腔
		$('#sMouseCode').append("<option value='"+jsonobjs.ErrorState[i].itemCode+"'>"+jsonobjs.ErrorState[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.ErrorState.length; i++){//肛门
		$('#sHepaticPortCode').append("<option value='"+jsonobjs.ErrorState[i].itemCode+"'>"+jsonobjs.ErrorState[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.ErrorState.length; i++){//心肺听诊
		$('#sHeartLungCode').append("<option value='"+jsonobjs.ErrorState[i].itemCode+"'>"+jsonobjs.ErrorState[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.ErrorState.length; i++){//外生殖器
		$('#sGenitalsCode').append("<option value='"+jsonobjs.ErrorState[i].itemCode+"'>"+jsonobjs.ErrorState[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.ErrorState.length; i++){//腹部触诊
		$('#sStomachCode').append("<option value='"+jsonobjs.ErrorState[i].itemCode+"'>"+jsonobjs.ErrorState[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.ErrorState.length; i++){//脊柱
		$('#sBackBoneCode').append("<option value='"+jsonobjs.ErrorState[i].itemCode+"'>"+jsonobjs.ErrorState[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.UmbilicalCord.length; i++){//脐带
		$('#sUmbilicalCordCode').append("<option value='"+jsonobjs.UmbilicalCord[i].itemCode+"'>"+jsonobjs.UmbilicalCord[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.Youwu.length; i++){//转诊建议
		$('#sReferralAdivseCode').append("<option value='"+jsonobjs.Youwu[i].itemCode+"'>"+jsonobjs.Youwu[i].itemName+"</option>");
	}
	for(var i=0; i<jsonobjs.Guide.length; i++){//指导
		$('#tdsGuideCode').append("<input type='checkbox' name='sGuideCode' value='"+jsonobjs.Guide[i].itemCode+"'/><font size='4'>"+jsonobjs.Guide[i].itemName+"</font>");
	}
	for(var i=0; i<jsonobjs.DoctorList.length; i++){//医生列表
		$('#sVisitingDoctor').append("<option value='"+jsonobjs.DoctorList[i].sPersonName+"'>"+jsonobjs.DoctorList[i].sPersonName+"</option>");
	}
	$("#sName").val(jsonobjs.sName);
	$("#sNo").val(jsonobjs.sNo);
	$("#sSex").val(jsonobjs.Sex);
	$("#dBornDate").val(jsonobjs.Birthday);
	$("#sIDCardNo").val(jsonobjs.CardNo);
	$("#sRegisterNo").val(jsonobjs.RegisterNo);
	$("#dRegisterDate").val(jsonobjs.RegisterDate);
	$("#dVisitingDate").val(jsonobjs.dVisitingDate);
	$("#dNextVisitingDate").val(jsonobjs.dNextVisitingDate);
	$("#sNextVisitingPlace").val(jsonobjs.sNextVisitingPlace);
	$("#sVisitingDoctor").val(jsonobjs.sVisitingDoctor);
	
	// 回显赋值---------
	var jss = eval('(' + jsondata2 + ')');//JSONObject格式的用此解析
     if(jss != ""){
	 $("#sName").val(jss.sName);
	 $("#sNo").val(jss.sNo);
	 $("#sSex").val(jss.sSex);
	 $("#dBornDate").val(jss.dBornDate);
	 $("#sIDCardNo").val(jss.sIDCardNo);
	 $("#sAddress").val(jss.sAddress);
	 $("#sRegisterNo").val(jss.sRegisterNo);
	 $("#dRegisterDate").val(jss.dRegisterDate);
	 $("#sFatherName").val(jss.sFatherName);
	 $("#sFatherJob").val(jss.sFatherJob);
	 $("#sFatherPhone").val(jss.sFatherPhone);
	 $("#sFatherBirthday").val(jss.sFatherBirthday);
	 $("#sMotherName").val(jss.sMotherName);
	 $("#sMotherJob").val(jss.sMotherJob);
	 $("#sMotherPhone").val(jss.sMotherPhone);
	 $("#sMotherBirthday").val(jss.sMotherBirthday);
	 $("#iWeeksGestation").val(jss.iWeeksGestation);
	 $("#sAccoucheDept").val(jss.sAccoucheDept);
	 $("#sGestationCode").val(jss.sGestationCode);
	 if(jss.sGestationCode == 3) {
	    	$("#sGestationOther").show();
	    	$("#sGestationOther").val(jss.sGestationOther);
	    }
	 $("#sBornConditionCode").val(jss.sBornConditionCode);
	 if(jss.sBornConditionCode == 7) {
	    	$("#sBornOtherCondition").show();
	    	$("#sBornOtherCondition").val(jss.sBornOtherCondition);
	    }
		$("#sStuffinessCode").val(jss.sStuffinessCode);
	 if(jss.sStuffinessCode == 2) {
	    	$("#sApgarCode").show();
	    	$("#sApgarCode").val(jss.sApgarCode);
	    }
		$("#sDeformityCode").val(jss.sDeformityCode);
	 if(jss.sDeformityCode == 2) {
	    	$("#sDeformityexplain").show();
	    	$("#sDeformityexplain").val(jss.sDeformityexplain);
	    }
	 $("#sHearScreeningCode").val(jss.sHearScreeningCode);
	 	$("#sIllnessScreeningCode").val(jss.sIllnessScreeningCode);
	 if(jss.sIllnessScreeningCode == 4) {
	    	$("#sIllnessScreeningOther").show();
	    	$("#sIllnessScreeningOther").val(jss.sIllnessScreeningOther);
	    }
		 	$("#sHeartDiseaseCode").val(jss.sHeartDiseaseCode);
	 if(jss.sHeartDiseaseCode == 2) {
	    	$("#sSuspectedContent").show();
	    	$("#sSuspectedContent").val(jss.sSuspectedContent);
	    }
	 $("#dBornWeight").val(jss.dBornWeight);
	 $("#dNowWeight").val(jss.dNowWeight);
	 $("#dHeight").val(jss.dHeight);
	 $("#sFeedCode").val(jss.sFeedCode);
	 $("#dSuckneedCode").val(jss.dSuckneedCode);
	 $("#sSuckTimesCode").val(jss.sSuckTimesCode);
	 $("#sVomitCode").val(jss.sVomitCode);
	 $("#sStoolCode").val(jss.sStoolCode);
	 $("#iStoolTimes").val(jss.iStoolTimes);
	 $("#dBodyTemperature").val(jss.dBodyTemperature);
	 $("#iPulseRate").val(jss.iPulseRate);
	 $("#iBreathingRate").val(jss.iBreathingRate);
	 $("#sFacialExpressionCode").val(jss.sFacialExpressionCode);
	 if(jss.sFacialExpressionCode == 3) {
	    	$("#sFacialExpressionOther").show();
	    	$("#sFacialExpressionOther").val(jss.sFacialExpressionOther);
	    }
	 $("#sJaundiceCode").val(jss.sJaundiceCode);
	 $("#dHalogenBefore1").val(jss.dHalogenBefore1);
	 $("#dHalogenBefore2").val(jss.dHalogenBefore2);
	 $("#sHalogenBeforeCode").val(jss.sHalogenBeforeCode);
	 if(jss.sHalogenBeforeCode == 4) {
	    	$("#sHalogenBeforeother").show();
	    	$("#sHalogenBeforeother").val(jss.sHalogenBeforeother);
	    }
		$("#sEyesOutwardCode").val(jss.sEyesOutwardCode);
	 if(jss.sEyesOutwardCode == 2) {
	    	$("#sEyesOutwardOther").show();
	    	$("#sEyesOutwardOther").val(jss.sEyesOutwardOther);
	    }
		$("#sLegsActivityCode").val(jss.sLegsActivityCode);
	 if(jss.sLegsActivityCode == 2) {
	    	$("#sLegsActivityOther").show();
	    	$("#sLegsActivityOther").val(jss.sLegsActivityOther);
	    }
		$("#sEarsOutwardCode").val(jss.sEarsOutwardCode);
	 if(jss.sEarsOutwardCode == 2) {
	    	$("#sEarsOutwardOther").show();
	    	$("#sEarsOutwardOther").val(jss.sEarsOutwardOther);
	    }
	$("#sNeckMassCode").val(jss.sNeckMassCode);
	 if(jss.sNeckMassCode == 2) {
	    	$("#sNeckMassOther").show();
	    	$("#sNeckMassOther").val(jss.sNeckMassOther);
	    }
	$("#sNoseCode").val(jss.sNoseCode);
	 if(jss.sNoseCode == 2) {
	    	$("#sNoseOther").show();
	    	$("#sNoseOther").val(jss.sNoseOther);
	    }
	$("#sSkinCode").val(jss.sSkinCode);
	 if(jss.sSkinCode == 4) {
	    	$("#sSkinOther").show();
	    	$("#sSkinOther").val(jss.sSkinOther);
	    }		
		$("#sMouseCode").val(jss.sMouseCode);
	 if(jss.sMouseCode == 2) {
	    	$("#sMouseOther").show();
	    	$("#sMouseOther").val(jss.sMouseOther);
	    }
		$("#sHepaticPortCode").val(jss.sHepaticPortCode);
	 if(jss.sHepaticPortCode == 2) {
	    	$("#sHepaticPortOther").show();
	    	$("#sHepaticPortOther").val(jss.sHepaticPortOther);
	    }
		$("#sHeartLungCode").val(jss.sHeartLungCode);
	 if(jss.sHeartLungCode == 2) {
	    	$("#sHeartLungOther").show();
	    	$("#sHeartLungOther").val(jss.sHeartLungOther);
	    }
		$("#sGenitalsCode").val(jss.sGenitalsCode);
	 if(jss.sGenitalsCode == 2) {
	    	$("#sGenitalsOther").show();
	    	$("#sGenitalsOther").val(jss.sGenitalsOther);
	    }
		$("#sStomachCode").val(jss.sStomachCode);
	 if(jss.sStomachCode == 2) {
	    	$("#sStomachOther").show();
	    	$("#sStomachOther").val(jss.sStomachOther);
	    }
		$("#sBackBoneCode").val(jss.sBackBoneCode);
	 if(jss.sBackBoneCode == 2) {
	    	$("#sBackBoneOther").show();
	    	$("#sBackBoneOther").val(jss.sBackBoneOther);
	    }
		$("#sUmbilicalCordCode").val(jss.sUmbilicalCordCode);
	 if(jss.sUmbilicalCordCode == 4) {
	    	$("#sUmbilicalCordOther").show();
	    	$("#sUmbilicalCordOther").val(jss.sUmbilicalCordOther);
	    }
		$("#sReferralAdivseCode").val(jss.sReferralAdivseCode);
	 if(jss.sReferralAdivseCode == 2) {
	    	$("#sReferralReason").show();
	    	$("#sReferralReason").val(jss.sReferralReason);
			$("#sAgencyDepartments").show();
	    	$("#sAgencyDepartments").val(jss.sAgencyDepartments);
	    }
		
		if(jss.sGuideCode != "") {
			var str1 = jss.sGuideCode.split(",");
			for (var i=0; i<str1.length;i++) {
				$("input[name='sGuideCode'][value="+str1[i]+"]").attr("checked",true);
				if(1==str1[i]){
					$("input[name='sGuideCode'][value!='1']").each(function() {
						$(this).attr("checked",false);
					});
				} 
			}
		}
		
	
	 $("#dVisitingDate").val(jss.dVisitingDate);
	 $("#dNextVisitingDate").val(jss.dNextVisitingDate);
	 $("#sNextVisitingPlace").val(jss.sNextVisitingPlace);
	 $("#sVisitingDoctor").val(jss.sVisitingDoctor);
	 if(jss.iWeatherHealthEducation != "" && jss.iWeatherHealthEducation == 1) {
	     	$("#iWeatherHealthEducation").attr("checked",true);
	     	$("#triWeatherHealthEducation").show();
		    $("#sWeatherHealthEducationContent").val(jss.sWeatherHealthEducationContent);
	    }
	 $("#BaoJianZhidaoContent").val(jss.BaoJianZhidaoContent);

	 }
	 
}
//回显母亲信息
function showMother(jsondata){
	var jsonobjs = eval('(' + jsondata + ')');//JSONObject格式的用此解析
	$("#sMotherName").val(jsonobjs.name);
	$("#sMotherBirthday").val(jsonobjs.dBirthday);
	$("#sMotherPhone").val(jsonobjs.sPhone);
}
//回显父亲信息
function showFather(jsondata){
	var jsonobjs = eval('(' + jsondata + ')');//JSONObject格式的用此解析
	$("#sFatherName").val(jsonobjs.name);
	$("#sFatherBirthday").val(jsonobjs.dBirthday);
	$("#sFatherPhone").val(jsonobjs.sPhone);
}
//显示从xml中取出的体温数据
function showXML(jsondata){
	var jsonobj = eval('(' + jsondata + ')');//JSONObject格式的用此解析
	$("#dBodyTemperature").val(jsonobj.cTemp);
	alert(jsondata);
}
//显示从xml中取出的脉率数据
function showXML2(jsondata){
	$("#iPulseRate").val(jsondata);
}
//显示从xml中取出的呼吸频率数据
function showXML3(jsondata){
	var jsonobj = eval('(' + jsondata + ')');//JSONObject格式的用此解析
	$("#iBreathingRate").val(jsonobj.cBreathRate);
	alert(jsondata);
}
//保存操作
function save(uploadType){
	if(isEmpty($("#sName").val())){
		alert("请填写新生儿姓名!");
		return false;
	}


	if($("#iWeeksGestation").val()==""){
		alert("请填写出生孕周！");
		return false;
	}
	if($("#sAccoucheDept").val()==""){
		alert("请填写助产机构名称！");
		return false;
	}

	if(isEmpty($("#dVisitingDate").val())){
		alert("请填写本次随访日期!");
		return false;
	}

	if(isEmpty($("#dNextVisitingDate").val())){
		alert("请填写下次随访日期!");
		return false;
	}


	if($("#sNextVisitingPlace").val()==""){
		alert("请填写随访单位！");
		return false;
	}
	if($("#sVisitingDoctor").val()==""){
		alert("请填写随访医生！");
		return false;
	}
//获取指导值
	var chkIds_sGuideCode = "";
	$("input[name='sGuideCode']:checked").each(function(i) {
		chkIds_sGuideCode += String($(this).val() + ",");
	});
	chkIds_sGuideCode = chkIds_sGuideCode.substring(0,chkIds_sGuideCode.length - 1);
//中医保健指导代码
	var chkIds_BaoJianZhidaoContentCode = "";
	$("input[name='BaoJianZhidaoContentCode']:checked").each(function(i) {
		chkIds_BaoJianZhidaoContentCode += String($(this).val() + ",");
	});
	chkIds_BaoJianZhidaoContentCode = chkIds_BaoJianZhidaoContentCode.substring(0,chkIds_BaoJianZhidaoContentCode.length - 1);	
//是否健康教育
	var iWeatherHealthEducation = "";
	if($("input[name='iWeatherHealthEducation']").attr('checked')==true){
			iWeatherHealthEducation = 1;
		}else{
			iWeatherHealthEducation = 0;
		}
	var sName = $("#sName").val()==""?null:$("#sName").val();
	var sNo = $("#sNo").val()==""?null:$("#sNo").val();
	var sSex = $("#sSex").val();
	var dBornDate = $("#dBornDate").val()==""?null:$("#dBornDate").val();
	var sIDCardNo = $("#sIDCardNo").val()==""?null:$("#sIDCardNo").val();
	var sAddress = $("#sAddress").val()==""?null:$("#sAddress").val();
	var sRegisterNo = $("#sRegisterNo").val()==""?null:$("#sRegisterNo").val();
	var dRegisterDate = $("#dRegisterDate").val()==""?null:$("#dRegisterDate").val();
	var sFatherName = $("#sFatherName").val()==""?null:$("#sFatherName").val();
	var sFatherJob = $("#sFatherJob").val()==""?null:$("#sFatherJob").val();
	var sFatherPhone = $("#sFatherPhone").val()==""?null:$("#sFatherPhone").val();
	var sFatherBirthday = $("#sFatherBirthday").val()==""?null:$("#sFatherBirthday").val();
	var sMotherName = $("#sMotherName").val()==""?null:$("#sMotherName").val();
	var sMotherJob = $("#sMotherJob").val()==""?null:$("#sMotherJob").val();
	var sMotherPhone = $("#sMotherPhone").val()==""?null:$("#sMotherPhone").val();
	var sMotherBirthday = $("#sMotherBirthday").val()==""?null:$("#sMotherBirthday").val();
	var iWeeksGestation = $("#iWeeksGestation").val()==""?null:$("#iWeeksGestation").val();
	var sAccoucheDept = $("#sAccoucheDept").val()==""?null:$("#sAccoucheDept").val();
	var sGestationCode = $("#sGestationCode").val();
	var sGestationOther = $("#sGestationOther").val()==""?null:$("#sGestationOther").val();
	var sBornConditionCode = $("#sBornConditionCode").val();
	var sBornOtherCondition = $("#sBornOtherCondition").val()==""?null:$("#sBornOtherCondition").val();
	var sStuffinessCode = $("#sStuffinessCode").val();
	var sApgarCode = $("#sApgarCode").val();
	var sDeformityCode = $("#sDeformityCode").val();
	var sDeformityexplain = $("#sDeformityexplain").val()==""?null:$("#sDeformityexplain").val();
	var sHearScreeningCode = $("#sHearScreeningCode").val();
	var sIllnessScreeningCode = $("#sIllnessScreeningCode").val();
	var sIllnessScreeningOther = $("#sIllnessScreeningOther").val()==""?null:$("#sIllnessScreeningOther").val();
	var sHeartDiseaseCode = $("#sHeartDiseaseCode").val();
	var sSuspectedContent = $("#sSuspectedContent").val()==""?null:$("#sSuspectedContent").val();
	var dBornWeight = $("#dBornWeight").val()==""?null:$("#dBornWeight").val();
	var dNowWeight = $("#dNowWeight").val()==""?null:$("#dNowWeight").val();
	var dHeight = $("#dHeight").val()==""?null:$("#dHeight").val();
	var sFeedCode = $("#sFeedCode").val()==""?null:$("#sFeedCode").val();
	var dSuckneedCode = $("#dSuckneedCode").val()==""?null:$("#dSuckneedCode").val();
	var sSuckTimesCode = $("#sSuckTimesCode").val()==""?null:$("#sSuckTimesCode").val();
	var sVomitCode = $("#sVomitCode").val()==""?null:$("#sVomitCode").val();
	var sStoolCode = $("#sStoolCode").val()==""?null:$("#sStoolCode").val();
	var iStoolTimes = $("#iStoolTimes").val()==""?null:$("#iStoolTimes").val();
	var dBodyTemperature = $("#dBodyTemperature").val()==""?null:$("#dBodyTemperature").val();
	var iPulseRate = $("#iPulseRate").val()==""?null:$("#iPulseRate").val();
	var iBreathingRate = $("#iBreathingRate").val()==""?null:$("#iBreathingRate").val();
	var sFacialExpressionCode = $("#sFacialExpressionCode").val();
	var sFacialExpressionOther = $("#sFacialExpressionOther").val()==""?null:$("#sFacialExpressionOther").val();
	var sJaundiceCode = $("#sJaundiceCode").val();
	var dHalogenBefore1 = $("#dHalogenBefore1").val()==""?null:$("#dHalogenBefore1").val();
	var dHalogenBefore2 = $("#dHalogenBefore2").val()==""?null:$("#dHalogenBefore2").val();
	var sHalogenBeforeCode = $("#sHalogenBeforeCode").val();
	var sHalogenBeforeother = $("#sHalogenBeforeother").val()==""?null:$("#sHalogenBeforeother").val();
	var sEyesOutwardCode = $("#sEyesOutwardCode").val();
	var sEyesOutwardOther = $("#sEyesOutwardOther").val()==""?null:$("#sEyesOutwardOther").val();
	var sLegsActivityCode = $("#sLegsActivityCode").val();
	var sLegsActivityOther = $("#sLegsActivityOther").val()==""?null:$("#sLegsActivityOther").val();
	var sEarsOutwardCode = $("#sEarsOutwardCode").val();
	var sEarsOutwardOther = $("#sEarsOutwardOther").val()==""?null:$("#sEarsOutwardOther").val();
	var sNeckMassCode = $("#sNeckMassCode").val();
	var sNeckMassOther = $("#sNeckMassOther").val()==""?null:$("#sNeckMassOther").val();
	var sNoseCode = $("#sNoseCode").val();
	var sNoseOther = $("#sNoseOther").val()==""?null:$("#sNoseOther").val();
	var sSkinCode = $("#sSkinCode").val();
	var sSkinOther = $("#sSkinOther").val()==""?null:$("#sSkinOther").val();
	var sMouseCode = $("#sMouseCode").val();
	var sMouseOther = $("#sMouseOther").val()==""?null:$("#sMouseOther").val();
	var sHepaticPortCode = $("#sHepaticPortCode").val();
	var sHepaticPortOther = $("#sHepaticPortOther").val()==""?null:$("#sHepaticPortOther").val();
	var sHeartLungCode = $("#sHeartLungCode").val();
	var sHeartLungOther = $("#sHeartLungOther").val()==""?null:$("#sHeartLungOther").val();
	var sGenitalsCode = $("#sGenitalsCode").val();
	var sGenitalsOther = $("#sGenitalsOther").val()==""?null:$("#sGenitalsOther").val();
	var sStomachCode = $("#sStomachCode").val();
	var sStomachOther = $("#sStomachOther").val()==""?null:$("#sStomachOther").val();
	var sBackBoneCode = $("#sBackBoneCode").val();
	var sBackBoneOther = $("#sBackBoneOther").val()==""?null:$("#sBackBoneOther").val();
	var sUmbilicalCordCode = $("#sUmbilicalCordCode").val();
	var sUmbilicalCordOther = $("#sUmbilicalCordOther").val()==""?null:$("#sUmbilicalCordOther").val();
	var sReferralAdivseCode = $("#sReferralAdivseCode").val();
	var sReferralReason = $("#sReferralReason").val()==""?null:$("#sReferralReason").val();
	var sAgencyDepartments = $("#sAgencyDepartments").val()==""?null:$("#sAgencyDepartments").val();
	var sGuideCode = chkIds_sGuideCode;
	var dVisitingDate = $("#dVisitingDate").val()==""?null:$("#dVisitingDate").val();
	var dNextVisitingDate = $("#dNextVisitingDate").val()==""?null:$("#dNextVisitingDate").val();
	var sNextVisitingPlace = $("#sNextVisitingPlace").val()==""?null:$("#sNextVisitingPlace").val();
	var sVisitingDoctor = $("#sVisitingDoctor").val();
	var sWeatherHealthEducationContent = $("#sWeatherHealthEducationContent").val()==""?null:$("#sWeatherHealthEducationContent").val();
	var BaoJianZhidaoContent = $("#BaoJianZhidaoContent").val();
	var BaoJianZhidaoContentCode = chkIds_BaoJianZhidaoContentCode;

	contact.save(uploadType,sName,sNo,sSex,dBornDate,sIDCardNo,sAddress,sRegisterNo,dRegisterDate,sFatherName,sFatherJob,sFatherPhone,sFatherBirthday,sMotherName,sMotherJob,
		sMotherPhone,sMotherBirthday,iWeeksGestation,sAccoucheDept,sGestationCode,sGestationOther,sBornConditionCode,sBornOtherCondition,sStuffinessCode,sApgarCode,
		sDeformityCode,sDeformityexplain,sHearScreeningCode,sIllnessScreeningCode,sIllnessScreeningOther,sHeartDiseaseCode,sSuspectedContent,dBornWeight,dNowWeight,
		dHeight,sFeedCode,dSuckneedCode,sSuckTimesCode,sVomitCode,sStoolCode,iStoolTimes,dBodyTemperature,iPulseRate,iBreathingRate,sFacialExpressionCode,
		sFacialExpressionOther,sJaundiceCode,dHalogenBefore1,dHalogenBefore2,sHalogenBeforeCode,sHalogenBeforeother,sEyesOutwardCode,sEyesOutwardOther,sLegsActivityCode,
		sLegsActivityOther,sEarsOutwardCode,sEarsOutwardOther,sNeckMassCode,sNeckMassOther,sNoseCode,sNoseOther,sSkinCode,sSkinOther,sMouseCode,sMouseOther,
		sHepaticPortCode,sHepaticPortOther,sHeartLungCode,sHeartLungOther,sGenitalsCode,sGenitalsOther,sStomachCode,sStomachOther,sBackBoneCode,sBackBoneOther,
		sUmbilicalCordCode,sUmbilicalCordOther,sReferralAdivseCode,sReferralReason,sAgencyDepartments,sGuideCode,dVisitingDate,dNextVisitingDate,sNextVisitingPlace,
		sVisitingDoctor,iWeatherHealthEducation,sWeatherHealthEducationContent,BaoJianZhidaoContent,BaoJianZhidaoContentCode);
		
		if(uploadType=="2"){
setTimeout((function(me){$("#btnSubmit").attr("disabled",true);return function(){$("#btnSubmit").attr("disabled",false);};})(this),5000);
}
}
</script>
<script>
var c = new Calendar("c");
document.write(c);
</script>
</head>
<!-- js代码通过webView调用其插件中的java代码 -->
<body bgcolor="#ffffff" onload="javascript:contact.getHtml()">
		<div class="easyui-tabs" fit="true" border="false" id="tt">
			<div title="<h1>第一页</h1>" id="qqq">
					<table width="100%" border="0" align="center" cellpadding="0"
						cellspacing="0" class="content02">
						<tbody>
							<tr>
								<td align="right" width="15%">
									<font size="4" color="red">*</font><font size="4">姓名</font>
								</td>
								<td width="35%">
									<input id="sName" name="sName" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
								<td align="right" width="15%">
									<font size="4">随访编号</font>
								</td>
								<td width="35%">
									<input id="sNo" name="sNo" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">性别</font>
								</td>
								<td>
									<select id="sSex" name="sSex" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
								</td>
								<td align="right">
									<font size="4">出生日期</font>
								</td>
								<td>
									<input id="dBornDate" name="dBornDate" type="text" class="srk200" value="" maxlength="50" readonly="readonly" onfocus="c.showMoreDay = false;c.show(this);"/>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">身份证号</font>
								</td>
								<td>
									<input id="sIDCardNo" name="sIDCardNo" type="text" class="srk200" value="" maxlength="50" readonly="readonly"/>
								</td>
								<td align="right">
									<font size="4">家庭住址</font>
								</td>
								<td>
									<input id="sAddress" name="sAddress" type="text" class="srk200" value="" maxlength="50"/>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">保健手册编码</font>
								</td>
								<td>
									<input id="sRegisterNo" name="sRegisterNo" type="text" class="srk200" value="" maxlength="50"/>
								</td>
								<td align="right">
									<font size="4">建册日期</font>
								</td>
								<td>
									<input id="dRegisterDate" name="dRegisterDate" type="text" class="srk200" value="" maxlength="50" readonly="readonly" onfocus="c.showMoreDay = false;c.show(this);"/>
								</td>
							</tr>
							<tr>
								<!-- <td colspan="4" class="zbt01" style="text-align: left">
									<h2>父亲</h2>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">姓名</font>
								</td>
								<td>
									<input id="sFatherName" name="sFatherName" type="text" class="srk200" value="" maxlength="50"/><input type="button" class="btn_submit" onclick="contact.importFather();" value="父亲信息"/>
								</td>
								<td align="right">
									<font size="4">职业</font>
								</td>
								<td>
									<input id="sFatherJob" name="sFatherJob" type="text" class="srk200" value="" maxlength="50"/>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">联系电话</font>
								</td>
								<td>
									<input id="sFatherPhone" name="sFatherPhone" type="text" class="srk200" value="" maxlength="50"/>
								</td>
								<td align="right">
									<font size="4">出生日期</font>
								</td>
								<td>
									<input id="sFatherBirthday" name="sFatherBirthday" type="text" class="srk200" value="" maxlength="50" readonly="readonly" onfocus="c.showMoreDay = false;c.show(this);"/>
								</td>
							</tr>
							<tr>
								<td colspan="4" class="zbt01" style="text-align: left">
									<h2>母亲</h2>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">姓名</font>
								</td>
								<td>
									<input id="sMotherName" name="sMotherName" type="text" class="srk200" value="" maxlength="50" /><input type="button" class="btn_submit" onclick="contact.importMother();" value="母亲信息"/>
								</td>
								<td align="right">
									<font size="4">职业</font>
								</td>
								<td>
									<input id="sMotherJob" name="sMotherJob" type="text" class="srk200" value="" maxlength="50" />
								</td>
							</tr>
						     <tr>
								<td align="right">
									<font size="4">联系电话</font>
								</td>
								<td>
									<input id="sMotherPhone" name="sMotherPhone" type="text" class="srk200" value="" maxlength="50" />
								</td>
								<td align="right">
									<font size="4">出生日期</font>
								</td>
								<td>
									<input id="sMotherBirthday" name="sMotherBirthday" type="text" class="srk200" value="" maxlength="50" readonly="readonly" onfocus="c.showMoreDay = false;c.show(this);"/>
								</td>
							</tr> 
							<tr> -->
								<td align="right">
									<font size="4" color="red">*</font><font size="4">出生孕周</font>
								</td>
								<td>
									<input id="iWeeksGestation" name="iWeeksGestation" type="text" 
										onblur="this.value=this.value.replace(/[^0-9]/g,'')"
										onfocus="this.value=this.value.replace(/[^0-9]/g,'')"
										onkeyup="this.value=this.value.replace(/[^0-9]/g,'')"
										onkeydown="this.value=this.value.replace(/[^0-9]/g,'')"
										class="srk200" value="" maxlength="50"/><font size="4">周</font>
								</td>
									<td align="right">
									<font size="4" color="red">*</font><font size="4">助产机构名称</font>
								</td>
								<td>
									<input id="sAccoucheDept" name="sAccoucheDept" type="text" class="srk200" value="" maxlength="50"/>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">母亲妊娠期患病情况</font>
								</td>
								<td>
									<select id="sGestationCode" name="sGestationCode" onchange="changesGestationCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 <input id="sGestationOther" name="sGestationOther" type="text" class="srk200" value="" maxlength="50" style="display:none;"/>
								</td>
								<td align="right">
									<font size="4">出生情况</font>
								</td>
								<td>
									<select id="sBornConditionCode" name="sBornConditionCode" onchange="changesBornConditionCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 <input id="sBornOtherCondition" name="sBornOtherCondition" type="text" class="srk200" value="" maxlength="50" style="display:none;"/>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">新生儿窒息</font>
								</td>
								<td>
									<select id="sStuffinessCode" name="sStuffinessCode" onchange="changesStuffinessCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 <font size="4" style="display:none;" id="Apgar">&nbsp;&nbsp;Apgar评分</font>
									 <select id="sApgarCode" name="sApgarCode" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:110px;margin-left:2px;padding:0px;display:none;">
										<option value=''>请选择</option>
									 </select>
								</td>
								<td align="right">
									<font size="4">是否有畸形</font>
								</td>
								<td>
									<select id="sDeformityCode" name="sDeformityCode" onchange="changesDeformityCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 <input id="sDeformityexplain" name="sDeformityexplain" type="text" class="srk200" value="" maxlength="50" style="display:none;"/>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">新生儿听力筛查</font>
								</td>
								<td>
									<select id="sHearScreeningCode" name="sHearScreeningCode" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
								</td>
								<td align="right">
									<font size="4">新生儿疾病筛查</font>
								</td>
								<td>
									<select id="sIllnessScreeningCode" name="sIllnessScreeningCode" onchange="changesIllnessScreeningCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 <input id="sIllnessScreeningOther" name="sIllnessScreeningOther" type="text" class="srk200" value="" maxlength="50" style="display:none;"/>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">先天性心脏病</font>
								</td>
								<td colspan="3">
									<select id="sHeartDiseaseCode" name="sHeartDiseaseCode" onchange="changesHeartDiseaseCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
										<option value='1'>是</option>
										<option value='0'>否</option>
										<option value='2'>疑似</option>
									 </select>
									  <input id="sSuspectedContent" name="sSuspectedContent" type="text" class="srk200" value="" maxlength="50" style="display:none;"/>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">新生儿出生体重</font>
								</td>
								<td>
									 <input id="dBornWeight" name="dBornWeight" type="text" class="srk200" value="" maxlength="50"/><font size="4">kg</font>
								</td>
								<td align="right">
									<font size="4">目前体重</font>
								</td>
								<td>
									 <input id="dNowWeight" name="dNowWeight" type="text" class="srk200" value="" maxlength="50"/><font size="4">kg</font>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">出生身长</font>
								</td>
								<td>
									 <input id="dHeight" name="dHeight" type="text" class="srk200" value="" maxlength="50"/><font size="4">cm</font>
								</td>
								<td align="right">
									<font size="4">喂养方式</font>
								</td>
								<td>
									 <select id="sFeedCode" name="sFeedCode" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">按需哺乳</font>
								</td>
								<td>
									<select id="dSuckneedCode" name="dSuckneedCode" style="float:left;font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
								</td>
								<td align="right">
									<font size="4">母乳喂养次数</font>
								</td>
								<td>
									<select id="sSuckTimesCode" name="sSuckTimesCode" style="float:left;font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">呕吐</font>
								</td>
								<td>
									<select id="sVomitCode" name="sVomitCode" style="float:left;font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
								</td>
								<td align="right">
									<font size="4">大便</font>
								</td>
								<td>
									<select id="sStoolCode" name="sStoolCode" style="float:left;font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
								</td>
							</tr>
						</tbody>
					</table>
			</div>
			<div title="<h1>第二页</h1>">
				<table width="100%" border="0" align="center" cellpadding="0"
						cellspacing="0" class="content02">
						<tbody>
							<tr>
								<td colspan="4" class="zbt01" style="text-align: right;">
									<input type="button" class="btn_submit" onclick="save('1');" value="上传" />
									<input type="button" class="btn_submit"  id="btnSubmit" onclick="save('2');" value="保存" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								</td>
							</tr>
							<tr>
								<td align="right" width="15%">
									<font size="4">大便次数</font>
								</td>
								<td width="35%">
									 <input id="iStoolTimes" name="iStoolTimes" type="text" class="srk200" value="" maxlength="50"/><font size="4">次/日</font>
								</td>
								<td align="right" width="15%">
									<font size="4">体温</font>
								</td>
								<td width="35%">
									 <input id="dBodyTemperature" name="dBodyTemperature" type="text" class="srk200" value="" maxlength="50"  /><font size="4">℃</font>
									 <input type="button" value="输入..." style="height:30px;width: 60px;font-size:15px;" onclick="contact.getXML('1')"/>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">脉率</font>
								</td>
								<td>
									 <input id="iPulseRate" name="iPulseRate" type="text" class="srk200" value="" maxlength="50"  /><font size="4"></font>
								<input type="button" value="输入..." style="height:30px;width: 60px;font-size:15px;" onclick="contact.getXML('2')"/>
								</td>
								<td align="right">
									<font size="4">呼吸频率</font>
								</td>
								<td>
									 <input id="iBreathingRate" name="iBreathingRate" type="text" class="srk200" value="" maxlength="50"  /><font size="4"></font>
								<input type="button" value="输入..." style="height:30px;width: 60px;font-size:15px;" onclick="contact.getXML('3')"/>							
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">面色</font>
								</td>
								<td>
									 <select id="sFacialExpressionCode" name="sFacialExpressionCode" onchange="changesFacialExpressionCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									  <input id="sFacialExpressionOther" name="sFacialExpressionOther" type="text" class="srk200" value="" maxlength="50" style="display:none;"/>
								</td>
								<td align="right">
									<font size="4">黄疸部位</font>
								</td>
								<td>
									<select id="sJaundiceCode" name="sJaundiceCode" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">前囟</font>
								</td>
								<td>
									  <input id="dHalogenBefore1" name="dHalogenBefore1" type="text" class="srk150" value="" maxlength="50"/><font size="4">cm&nbsp;×</font>
									  <input id="dHalogenBefore2" name="dHalogenBefore2" type="text" class="srk150" value="" maxlength="50"/><font size="4">cm</font>
								</td>
								<td align="right">
									<font size="4">前囟说明</font>
								</td>
								<td>
									<select id="sHalogenBeforeCode" name="sHalogenBeforeCode" onchange="changesHalogenBeforeCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 <input id="sHalogenBeforeother" name="sHalogenBeforeother" type="text" class="srk200" value="" maxlength="50" style="display:none;"/><font size="4"></font>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">眼外观</font>
								</td>
								<td>
									<select id="sEyesOutwardCode" name="sEyesOutwardCode" onchange="changesEyesOutwardCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 <input id="sEyesOutwardOther" name="sEyesOutwardOther" type="text" class="srk200" value="" maxlength="50" style="display:none;"/><font size="4"></font>
								</td>
								<td align="right">
									<font size="4">四肢活动度</font>
								</td>
								<td>
									<select id="sLegsActivityCode" name="sLegsActivityCode" onchange="changesLegsActivityCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 </select>
									 <input id="sLegsActivityOther" name="sLegsActivityOther" type="text" class="srk200" value="" maxlength="50" style="display:none;"/><font size="4"></font>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">耳外观</font>
								</td>
								<td>
									<select id="sEarsOutwardCode" name="sEarsOutwardCode" onchange="changesEarsOutwardCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 <input id="sEarsOutwardOther" name="sEarsOutwardOther" type="text" class="srk200" value="" maxlength="50" style="display:none;"/><font size="4"></font>
								</td>
								<td align="right">
									<font size="4">颈部包块</font>
								</td>
								<td>
									<select id="sNeckMassCode" name="sNeckMassCode" onchange="changesNeckMassCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 </select>
									 <input id="sNeckMassOther" name="sNeckMassOther" type="text" class="srk200" value="" maxlength="50" style="display:none;"/><font size="4"></font>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">鼻</font>
								</td>
								<td>
									<select id="sNoseCode" name="sNoseCode" onchange="changesNoseCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 <input id="sNoseOther" name="sNoseOther" type="text" class="srk200" value="" maxlength="50" style="display:none;"/><font size="4"></font>
								</td>
								<td align="right">
									<font size="4">皮肤</font>
								</td>
								<td>
									<select id="sSkinCode" name="sSkinCode" onchange="changesSkinCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 <input id="sSkinOther" name="sSkinOther" type="text" class="srk200" value="" maxlength="50" style="display:none;"/><font size="4"></font>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">口腔</font>
								</td>
								<td>
									<select id="sMouseCode" name="sMouseCode" onchange="changesMouseCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 <input id="sMouseOther" name="sMouseOther" type="text" class="srk200" value="" maxlength="50" style="display:none;"/><font size="4"></font>
								</td>
								<td align="right">
									<font size="4">肛门</font>
								</td>
								<td>
									<select id="sHepaticPortCode" name="sHepaticPortCode" onchange="changesHepaticPortCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 <input id="sHepaticPortOther" name="sHepaticPortOther" type="text" class="srk200" value="" maxlength="50" style="display:none;"/><font size="4"></font>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">心肺听诊</font>
								</td>
								<td>
									<select id="sHeartLungCode" name="sHeartLungCode" onchange="changesHeartLungCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 <input id="sHeartLungOther" name="sHeartLungOther" type="text" class="srk200" value="" maxlength="50" style="display:none;"/><font size="4"></font>
								</td>
								<td align="right">
									<font size="4">外生殖器</font>
								</td>
								<td>
									<select id="sGenitalsCode" name="sGenitalsCode" onchange="changesGenitalsCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 <input id="sGenitalsOther" name="sGenitalsOther" type="text" class="srk200" value="" maxlength="50" style="display:none;"/><font size="4"></font>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">腹部触诊</font>
								</td>
								<td>
									<select id="sStomachCode" name="sStomachCode" onchange="changesStomachCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 <input id="sStomachOther" name="sStomachOther" type="text" class="srk200" value="" maxlength="50" style="display:none;"/><font size="4"></font>
								</td>
								<td align="right">
									<font size="4">脊柱</font>
								</td>
								<td>
									<select id="sBackBoneCode" name="sBackBoneCode" onchange="changesBackBoneCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 <input id="sBackBoneOther" name="sBackBoneOther" type="text" class="srk200" value="" maxlength="50" style="display:none;"/><font size="4"></font>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">脐带</font>
								</td>
								<td colspan="3">
									<select id="sUmbilicalCordCode" name="sUmbilicalCordCode" onchange="changesUmbilicalCordCode(this)" style="font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 <input id="sUmbilicalCordOther" name="sUmbilicalCordOther" type="text" class="srk200" value="" maxlength="50" style="display:none;"/><font size="4"></font>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">转诊建议</font>
								</td>
								<td colspan="3">
									<select id="sReferralAdivseCode" name="sReferralAdivseCode" onchange="changesReferralAdivseCode(this)" style="float:left;font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
									 <div id="divsReferralAdivseCode" style="display:none;float:left;">
									 	<font size="4">&nbsp;&nbsp;&nbsp;&nbsp;原因</font>
									 	<input id="sReferralReason" name="sReferralReason" type="text" class="srk200" value="" maxlength="50"/>
									 	<font size="4">&nbsp;&nbsp;&nbsp;&nbsp;机构及科室</font>
									 	<input id="sAgencyDepartments" name="sAgencyDepartments" type="text" class="srk200" value="" maxlength="50"/>
									 </div>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">指导</font>
								</td>
								<td colspan="3" id="tdsGuideCode">
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4" color="red">*</font><font size="4">本次随访日期</font>
								</td>
								<td>
									<input id="dVisitingDate" name="dVisitingDate" type="text" class="srk200" value="" maxlength="50" readonly="readonly" onfocus="c.showMoreDay = false;c.show(this);"/>
								</td>
								<td align="right">
									<font size="4" color="red">*</font><font size="4">下次随访日期</font>
								</td>
								<td>
									<input id="dNextVisitingDate" name="dNextVisitingDate" type="text" class="srk200" value="" maxlength="50" readonly="readonly" onfocus="c.showMoreDay = false;c.show(this);"/>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4" color="red">*</font><font size="4">随访单位</font>
								</td>
								<td>
									<input id="sNextVisitingPlace" name="sNextVisitingPlace" type="text" class="srk200" value="" maxlength="50" />
								</td>
								<td align="right">
									<font size="4" color="red">*</font><font size="4">随访医生</font>
								</td>
								<td>
									<select id="sVisitingDoctor" name="sVisitingDoctor" style="float:left;font:23px/23px '宋体';font-weight: bold; color: #333333;height:30px;width:205px;margin-left:2px;padding:0px;">
										<option value=''>--请选择--</option>
									 </select>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">是否进行健康教育</font>
								</td>
								<td colspan="3">
									&nbsp;&nbsp;<input id="iWeatherHealthEducation" type="checkbox" name="iWeatherHealthEducation" value="1"/><font size="4">是</font>
								</td>
							</tr>
							<tr id="triWeatherHealthEducation" style="display:none;">
								<td align="right">
									<font size="4">健康教育内容</font>
								</td>
								<td colspan="3">
									<textarea id="sWeatherHealthEducationContent" style="width:800px;height:80px;font-size:18px;font-weight:bold;" name="sWeatherHealthEducationContent"></textarea>
								</td>
							</tr>
							<tr>
								<td align="right">
									<font size="4">中藏医指导</font>
								</td>
								<td colspan="3">
									<textarea id="BaoJianZhidaoContent" style="width:800px;height:80px;font-size:18px;font-weight:bold;" name="BaoJianZhidaoContent"></textarea>
									<img alt="帮助"  src="images/help.png"
                        				 style="vertical-align: middle"/>
                    					 <a href="#" onclick="ChoseZhongYiBaoJian()"><span><font size="2">选择保健指导</font></span></a>
								</td>
							</tr>
						</tbody>
					</table>
<!--选择中藏医指导的弹出层 -->
<div id="divChoseZhongYiBaoJian" title="<font size='4'>选择中藏医指导</font>" style="padding:5px;width:1000px;height:500px;">
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list02" align="center">
		<thead>
			<tr>
				<td style="width: 50px">
					<div class="divnr-auto">
						<font size="4">选择</font>
					</div>
				</td>
				<td align="center">
					<div class="divnr-auto">
						<font size="4">保健指导内容</font>
					</div>
				</td>
			</tr>
		</thead>
		<tbody id="tbodyZhongYiBaoJian">
			<tr>
				<td align="center"><input id="1" type="checkbox" name="BaoJianZhidaoContentCode" value="1"/></td>
				<td align="left"><font id="ZhongYiBaoJian1" size="4">食疗药膳方面：全面均衡、易消化的饮食，不过食辛辣及煎、炸、腌、熏食品，婴幼儿提倡母乳喂养，合理添加辅食，选择正确的方法断奶。 </font></td>
			</tr>
			<tr>
				<td align="center"><input id="2" type="checkbox" name="BaoJianZhidaoContentCode" value="2"/></td>
				<td align="left"><font id="ZhongYiBaoJian2" size="4">情志调摄方面：小儿肾常虚，勿让小儿受惊吓。对小儿多进行美的事物教育，视物而教之，促进小儿的身心朝着积极健康的方向发展。 </font></td>
			</tr>
			<tr>
				<td align="center"><input id="3" type="checkbox" name="BaoJianZhidaoContentCode" value="3"/></td>
				<td align="left"><font id="ZhongYiBaoJian3" size="4">运动功法方面：小儿发育迅速、可以让小儿尽情的顽皮、打闹（以不严重伤害身体为前提），加强体格锻炼，以增加抵抗力和提高机体对自然环境的适应能力。</font></td>
			</tr>
			<tr>
				<td align="center"><input id="4" type="checkbox" name="BaoJianZhidaoContentCode" value="4"/></td>
				<td align="left"><font id="ZhongYiBaoJian4" size="4">体质调养方面：对体质有偏盛偏衰的，可根据具体情况选择适当的方法，加以调解。 
（1）卫气不固，易感冒者，可玉屏风散 
（2）脾气虚弱，易泄泻者，可用异功散 
（3）饮食失当，食积者，可用保和丸 。
（4）肾气不足遗尿者，可用肾气丸合缩泉丸。
（5）对体虚，又无明显症状者，可用黄芪、太子参、红枣、山药、米仁、陈皮等。
</font></td>
			</tr>
		</tbody>
</table>
</div>
<!--选择中藏医指导的弹出层  -->	
			</div>
		</div>
<!--
	<input id="test1" type="button" class="btn_submit" value="左滑" />
	<input id="test2" type="button" class="btn_submit" value="右滑" />  
-->		
	</body>	
</html>